package gemini.castor.ui.server.service.impl;

import gemini.basic.manager.PersonManager;
import gemini.basic.model.Person;
import gemini.castor.ui.client.service.AccountService;
import gemini.castor.ui.server.service.AbstractSingleService;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class AccountServiceImpl extends
        AbstractSingleService<PersonManager> implements
        AccountService {

    @SuppressWarnings("unused")
	private final Log logger = LogFactory
            .getLog(AccountServiceImpl.class);

    
    @Override
	public Person getById(int personId) {
    	Person result = duplicateExcludeFields(getServerManager().getById(personId));
    	return result;
	}
}
